<include file="Public:js" /> 
<div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">二维码生成</span></div>
        </div>
        
        <div class="result-wrap">
            <form action="{:U('Qrcode/creatQrSub')}" method="post" id="myform" name="myform">
            <!-- 商品ID -->
            <input type="hidden" name="goods_id" value="{$data.goods_id}">
            
            <!-- 店铺ID -->
            <input type="hidden" name="supplier_id" value="{$data.supplier_id}">
                <div class="config-items">
                    <div class="config-title">
                        <h1><i class="icon-font">&#xe00a;</i>二维码生成</h1>
                    </div>
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tbody>
                            <tr>
                                 <th width="15%"><i class="require-red">*</i>本次发放数量</th>           
                               <td>
                                    <input type="text"  datatype="n" nullmsg="填写有效的数量" errormsg="填写有效的数量"    name="send_sum" class="common-text"> <span> 提示:二维码序号由16位随机数字组成</span>
                               </td>
                                 
                            </tr>
                             <tr>
                                 <th width="15%"><i class="require-red"></i>可扫描次数</th>
                               <td>
                                    <input type="text"   value='0'  name="number"  datatype="n" nullmsg="填写有效的数量" errormsg="填写有效的数量"   class="common-text"> 
                                    <span>  提示:0为不限制次数,填写数字就是次数</span>
                               </td>
                                 
                            </tr>
                            
                                <tr>
                                    <th></th>
                                    <td>
                                      
                                        <input type="submit" value="提交" class="btn btn-primary btn6 mr10">
                                        <input type="button" value="返回" onclick="history.go(-1)" class="btn btn6">
                                    </td>
                                </tr>
                            </tbody></table>
                    </div>
                </div>
                </form>
                
        </div>
    </div>

<script type="text/javascript">
$(function(){
	
	 $("#myform").Validform({
	    
	 });  //就这一行代码！;
		
	  
	
})
</script>